package design.patterns.create.abstractfactory.demo2;

public class AbstractFactoryDemo {
    public static void main(String[] args) {
        HongMiFactory hongMiFactory = new HongMiFactory();
        hongMiFactory.getCpu();
        hongMiFactory.getScreen();

        XiaoMiFactory xiaoMiFactory = new XiaoMiFactory();
        xiaoMiFactory.getCpu();
        xiaoMiFactory.getScreen();
    }
}
